#pragma once

#include "Tiles.h"

//added 10/21/07 6:08PM
#include "SpellTile.h"

#pragma message("compiling branch.h")
//need to make this inherit from tile class
class Branch:public Tiles
{
	private:
		bool CoolDown;
		int nodeID;
		bool front;
		//***********added 10/21/07 5:56PM
		SpellTile *spellTile;
		bool isSpellTile;
		int rank;

	public:
		Branch(float x, float y, float z, TileType tileType, SpellType spell, bool coolDown, int nodeID, bool front, int rank);
		
		~Branch();

		int getNodeID();
		bool isCoolDown();
		bool getFront();

		//***********added 10/21/07 5:56PM***********************************************************************
		Branch(float x, float y, float z, TileType tileType, SpellType spell, bool coolDown, int nodeID, bool front, int rank, bool spellTile, int spellID);
		SpellTile *getSpellTile();
		bool getIsSpellTile();
		void setCoolDown(bool coolDown);
		int getRank();
};